﻿
@{
    ViewBag.Title = "实人认证结果";
    Layout = "~/Views/Shared/_MallLayout.cshtml";
}
@model VerifyStatusResult
<body class="page-faceNotPass bg-white">
</body>
@if (Model.Success) {
    if (Model.Data.StatusCode == 1) {<div class="lt-pt">
            <div class="img fn-center">
                <img src="~/Content/images/face/right.png" />
            </div>
            <div class="text fn-center">
                <p class="fn36">恭喜您已经通过验证！</p>
                <p class="fn28">验证通过时间：@DateTime.Now</p>
            </div>
        </div>} else {
        <div class="lt-pt">
            <div class="img fn-center">
                <img src="~/Content/images/face/no.png" />
            </div>
            <div class="text col-red fn-center">
                <p class="fn36">
                    @if (Model.Data.StatusCode == -1) {<text>未认证</text>} else if (Model.Data.StatusCode == 0) {
                    <text>认证中</text>
                } else if (Model.Data.StatusCode == 1) {
                    <text>认证通过</text>
                } else if (Model.Data.StatusCode == 2) {
                    <text>认证不通过</text>
                }
                </p>
                @if (Model.Data.StatusCode == 2) {
                    <p class="fn28">未通过原因：@Model.Data.AuditConclusions</p>
                }

            </div>
            @if (Model.Data.StatusCode == 2) {
                <div class="btnBox fn-center">
                    <a href="/home/faceexplain" class="ui-btn-buy">重新验证</a>
                </div>}
        </div>
    }


}



